package com.kingyun.gpsinspection.purificationservice.dao.mapper.iam.manage;


import com.kingyun.gpsinspection.purificationservice.facade.model.iam.manage.MaterialsInventory;

import java.util.List;

public interface MaterialsInventoryMapper {

    /**
     * 新增操作
     * @param record
     * @return
     */
    int insertSelective(MaterialsInventory record);

    /**
     * 修改操作
     * @param record
     * @return
     */
    int updateByPrimaryKeySelective(MaterialsInventory record);

    /**
     * 查询操作
     * 列表
     * @param materialsInventory
     * @return
     */
    List<MaterialsInventory> queryList(MaterialsInventory materialsInventory);

    /**
     * 查询操作
     * 总数
     * @param materialsInventory
     * @return
     */
    Integer queryCount(MaterialsInventory materialsInventory);

    /**
     * 查询操作
     * @param materialsInventory
     * @return
     */
    MaterialsInventory selectMaterialsInventory(MaterialsInventory materialsInventory);

    /**
     * 查询操作
     * @param materialsInventoryId
     * @return
     */
    MaterialsInventory selectByPrimaryKey(String materialsInventoryId);
}